<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>SupermarketDemo</title>

<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">

<link
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<link
	href="${pageContext.request.contextPath}/static/css/bootstrap-responsive.min.css"
	rel="stylesheet" type="text/css" />

<link
	href="${pageContext.request.contextPath}/static/css/font-awesome.css"
	rel="stylesheet">
<link
	href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
	rel="stylesheet">

<link href="${pageContext.request.contextPath}/static/css/style.css"
	rel="stylesheet" type="text/css">
<link
	href="${pageContext.request.contextPath}/static/css/pages/signin.css"
	rel="stylesheet" type="text/css">

</head>

<body>

	<!-- 头部开始 -->
	<%@include file="/common/head.jsp"%>
	<!-- 头部结束 -->


	<div class="account-container register">

		<div class="content clearfix">

			<form
				action="${pageContext.request.contextPath}/addIncome.do?method=1"
				method="post">

				<h1>添加收入信息</h1>

				<div class="login-fields">

					<p>添加收入你的信息</p>



					<div class="field">
						选择部门 <select id="address">
							<option value="-1">请选择部门</option>
						</select>
					</div>

					<input type="hidden" name="name.id" id="nameId" value="-1" />


					<!-- /field -->

					<div class="field">
						<label for="deptName">deptName:</label> <input type="text"
							id="deptName" name="deptName" placeholder="deptName"
							class="login" readonly="readonly" />
					</div>

					<div class="field">
						<label for="daily">Daily Income:</label> <input type="text"
							id="daily" name="daily" value="" placeholder="Daily Income"
							class="login" />
					</div>
					<!-- /field -->

					<div class="field">
						<label for="bussiness_date">Bussiness Date:</label> <input
							type="text" id="bussiness_date" name="bussiness_date"
							placeholder="Bussiness Date" class="login" readonly="readonly" />
					</div>
					<!-- /field -->

					<div class="field">
						<label for="last_mod_date">Last mod Date:</label> <input
							type="text" id="last_mod_date" name="last_mod_date"
							placeholder="Last mod Date" class="login" readonly="readonly" />
					</div>
					<!-- /field -->

				</div>
				<!-- /login-fields -->

				<a href="#" id="clear_daily">清空</a> <br> <span
					style="color: red" id="txtClearErr"></span> <br> <span
					style="color: green" id="txtAddIncomeErr">${AddIncome_err }</span>

				<div class="login-actions">
					<a href="${pageContext.request.contextPath}/Income"> <input
						type="button" id="btncleanCheck"
						class="button btn btn-danger btn-large" value="取消" />
					</a> <input type="submit" id="btnAddCheck"
						class="button btn btn-primary btn-large" value="添加" />
					&nbsp;&nbsp;&nbsp;&nbsp;

				</div>
				<!-- .actions -->


			</form>

		</div>
		<!-- /content -->

	</div>
	<!-- /account-container -->


	<!-- Text Under Box -->



	<script
		src="${pageContext.request.contextPath}/static/js/jquery-1.7.2.min.js"></script>
	<script src="${pageContext.request.contextPath}/static/js/bootstrap.js"></script>

	<script src="${pageContext.request.contextPath}/static/js/signin.js"></script>
	<script src="${pageContext.request.contextPath}/js/add.income.js"></script>
	<script src="${pageContext.request.contextPath}/js/clear.js"></script>
</body>

</html>
